.pentaho-toggle-button-up button {
    background: #eee;
    border: 1px outset white;
}

.pentaho-toggle-button-down button {
    background: silver;
    border: 1px inset gray;
}


.boxshadow .pentaho-toggle-button-up button {
    background: #eee;
    border: 1px solid gray;
    box-shadow: inset 1px 1px 4px white,
                inset -1px -1px 3px silver;
    -webkit-box-shadow: inset 1px 1px 4px white,
                inset -1px -1px 3px silver;
    -moz-box-shadow: inset 1px 1px 4px white,
                inset -1px -1px 3px silver;
    -o-box-shadow: inset 1px 1px 4px white,
                inset -1px -1px 3px silver;
    -ms-box-shadow: inset 1px 1px 4px white,
                inset -1px -1px 3px silver;
}

.boxshadow .pentaho-toggle-button-down button {
    background: silver;
    border: 1px solid black;
    box-shadow: inset 1px 1px 1px gray;
    -webkit-box-shadow: inset 1px 1px 1px gray;
    -moz-box-shadow: inset 1px 1px 1px gray;
    -o-box-shadow: inset 1px 1px 1px gray;
    -ms-box-shadow: inset 1px 1px 1px gray;
}

.tableComponent{
  margin-bottom:0em;
}

.tableComponent th{
  text-align: center;
}

.tableComponent td.numeric{
  text-align: right;
  font-family: monospace;
}

.tableComponent td.string{
  text-align: left;
}

.tableComponent td.sparkline{
  text-align: center;
}

/* Overriding jquery.dataTable.css table.dataTable box-sizing style*/
.dataTables_wrapper table.dataTable, .dataTables_wrapper table.dataTable th, .dataTables_wrapper table.dataTable td {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.dataTables_wrapper table.dataTable thead th, .dataTables_wrapper table.dataTable thead td {
  border-bottom: 0;
} 

/* Two-Button Classic Pagination */
.paginate_disabled_previous, .paginate_enabled_previous,
.paginate_disabled_next, .paginate_enabled_next {
  height: 19px;
  float: left;
  cursor: pointer;
  *cursor: hand;
  color: #111;
}
.paginate_disabled_previous:hover, .paginate_enabled_previous:hover,
.paginate_disabled_next:hover, .paginate_enabled_next:hover {
  text-decoration: none !important;
}
.paginate_disabled_previous:active, .paginate_enabled_previous:active,
.paginate_disabled_next:active, .paginate_enabled_next:active {
  outline: none;
}

.paginate_disabled_previous,
.paginate_disabled_next {
  color: #666;
}
.paginate_disabled_previous, .paginate_enabled_previous {
  padding-left: 23px;
}
.paginate_disabled_next, .paginate_enabled_next {
  padding-right: 23px;
  margin-left: 10px;
}

.paginate_disabled_previous {
  background: url('lib/dataTables/images/back_disabled.png') no-repeat top left;
}

.paginate_enabled_previous {
  background: url('lib/dataTables/images/back_enabled.png') no-repeat top left;
}
.paginate_enabled_previous:hover {
  background: url('lib/dataTables/images/back_enabled_hover.png') no-repeat top left;
}

.paginate_disabled_next {
  background: url('lib/dataTables/images/forward_disabled.png') no-repeat top right;
}

.paginate_enabled_next {
  background: url('lib/dataTables/images/forward_enabled.png') no-repeat top right;
}
.paginate_enabled_next:hover {
  background: url('lib/dataTables/images/forward_enabled_hover.png') no-repeat top right;
}

/**************
*/

.cdfClickable{
  cursor: pointer;
}

#GB_window {
    left: 0;
    top: 0;
    font-size: 1px;
    position: absolute;
    overflow: visible;
    z-index: 1500;
}

 a.resetFilterButton {
  color: #0000FF;
  font-weight: bold;
  font-size: 12px;
  text-align: center;
  text-decoration: none;
}



/* Overriding the inner .containers that are generated by widgets */
.container .container{
  width: auto;
}

/*******
DateInput Component
********/

.date-input-container .date-input {
  width: 80px
}

/*******
DateRangeInput Component
********/

.date-range-input-container .date-range-single-input {
  width: 170px;
}

.date-range-input-container .date-range-multiple-input,
.date-range-input-container .date-range-multiple-input-2 {
  width: 80px;
}

.ui-daterangepicker button.btnCancel {
  margin: 0 5px 5px 0;
  position: absolute;
  top: auto;
  left: auto;
  bottom: 0;
  right: 55px;
  float: right;
  cursor: pointer;
  font-size: 1.1em;
}

/*******
Comments Component
********/

.commentComponent .commentsBody {
    box-sizing: border-box; 
    -moz-box-sizing: border-box; 
    -webkit-box-sizing: border-box;
    height: auto;
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 2px;
    margin: 2px 0px ;
}

.commentComponent .comment {
    padding: 5px 5px; 
    width: 90%;
}

.commentComponent .operation{
    float: right;
}

.commentComponent .operation div {
    padding: 2px 0px;
    margin: 5px 5px;
    border: 1px solid #ccc;
    border-radius: 2px;
    float: right;
    visibility: hidden;
    cursor: pointer;
    font-size: 10px;
    text-align: center;
    width: 100%;
    background-color: #eee;
}

.commentComponent .comment, 
.commentComponent .operation {
    vertical-align: top;
    display: inline-block;
}
 
.commentComponent .commentsBody:hover {

}

.commentComponent .operation div:hover {
    color: red;
    border: 1px solid red;    
    
}

.commentComponent .commentsBody:hover .operation div {
    visibility: visible;
}

.commentComponent .commentsDetails {
    font-size: 10px;
    color: #777 ;
    text-align: right;
}


.commentComponent .addComment {
    box-sizing: border-box; 
    -moz-box-sizing: border-box; 
    -webkit-box-sizing: border-box;
    width: 100%;
    display: inline-block;
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 2px;
    margin-bottom: 5px;
    padding: 5px 5px;
    cursor: pointer;
    margin-top: 20px;
    background-color: #eee;
}

.commentComponent .addComment:hover {
     border: 1px solid #aaa;    
     background-color: #ccc; 
}

.commentComponent .commentsBody:hover .operation {
    display: inline-block;
}

.commentComponent .commentsBody, .commentsGroup .operation {
    display: inline-block;
}

.commentComponent .addCommentWrapper {
    display: none;
}

.commentComponent .addCommentText {
    box-sizing: border-box; 
    -moz-box-sizing: border-box; 
    -webkit-box-sizing: border-box;
    width: 100%;   
    padding: 10px;
    margin: 0px;
    height: 40px;
    border: 1px solid #ccc;
    border-radius: 2px;
    resize: none;
}

.commentComponent .saveComment, 
.commentComponent .cancelComment {
    display: inline-block;
    text-align: center;
    float: right;
    width: 120px;
    margin-left: 5px;
    border: 1px solid #ccc;
    border-radius: 2px;
    padding: 5px 5px;
    cursor: pointer;
    background-color: #eee;
}

.commentsAdd .commentsButtons div:hover {
     border: 1px solid #aaa;    
     background-color: #ccc;
}

.commentComponent .paginate {
  float: right;
}

.commentComponent .paginate div {
    display: inline-block;
    text-align: center;
    min-width: 120px;
    border: 1px solid #ccc;
    border-radius: 2px;
    margin-top: 5px;
    margin-bottom: 5px;
    margin-left: 5px;
    padding: 5px 5px;
    cursor: pointer;
    background-color: #eee;
}

.commentComponent .paginate div span{
   color: red ;
   font-size: 10px;
}

.commentComponent .paginate div:hover {
  border: 1px solid #aaa;    
  background-color: #ccc;
}


.commentComponent .paginate div.disabled,
.commentComponent .commentsButtons div.disabled {
   color: #aaa ;
}

.commentComponent .paginate div:hover.disabled,
.commentComponent .commentsButtons div:hover.disabled {
    border: 1px solid #ccc;
    background-color: #eee;
    cursor: default;
}



/* Popups */


.cdfPopupContainer * {
  -moz-box-sizing: border-box; 
  box-sizing: border-box; 
  -webkit-box-sizing:border-box;    
}
.cdfPopupContainer {
  position:fixed;
  top: 30%;
  left:50%;
  z-index:2000;
}
.cdfPopup {
  width: 390px;
  margin-left: -195px;
  background: #D0D0D1;
  border:solid 2px #000000;
  overflow:hidden;
}
.cdfPopupHeader {
  height:42px;
  line-height:42px;
  width:100%;
  text-align:center;
  cursor:default;
  font-size: 14px;
  font-weight:bold;
}
.cdfPopupBody {
  height:150px;
  font-size:12px;
}
.cdfPopupDesc {
  height: 90px;
  padding-left:20px;
  padding-right:20px;
  text-align:center;
  cursor:default;
  text-overflow:ellipsis;
  overflow:hidden;
  white-space:pre;
  margin-bottom:10px;
}
.cdfPopupButton {
  height:35px;
  line-height:35px;
  border: solid 1px #000000;
  border-radius: 2px;
  margin-left:27px;
  margin-right:27px;
  text-align:center;
  cursor:pointer;
}
.cdfPopupButton:hover {
  background-color: #000000;
  color: #FFFFFF;
}



/* Notifications */

.cdfNotification.component * {
  -moz-box-sizing: border-box; 
  box-sizing: border-box; 
  -webkit-box-sizing:border-box;    
}

.cdfNotification.component {
  text-align:center;
  padding:10px;
  min-height:100%;
}
.cdfNotificationBody{
  display:inline-block;
  padding-left:33px;
  text-align: left;
  max-width:100%;
  position:relative;
  min-height:30px;
}
.cdfNotificationImg {
  width:30px;
  height:30px;
  position:absolute;
  top:0px;
  left:0px;
}
.cdfNotificationTitle {
  font-size:14px;
  line-height:1.2;
  overflow:hidden;
  text-overflow:ellipsis;
}
.cdfNotificationDesc {
  font-size:11px;
  line-height:1.2;
  overflow:hidden;
  text-overflow:ellipsis;
}

.cdfNotification.small {
  padding:5px;
}

.cdfNotification.small .cdfNotificationBody{
  display:inline-block;
  padding-left:17px;
  text-align: left;
  min-height:15px;
}

.cdfNotification.small .cdfNotificationImg {
  height:15px;
  width:15px;
}

.cdfNotification.small .cdfNotificationTitle {
  font-size:11px;
  line-height:1.1;
  white-space:nowrap;}

.cdfNotification.small .cdfNotificationDesc {
  font-size:9px;
  line-height:1.1;
  white-space:nowrap;
}

.cdfNotificationContainer {
  z-index:2100;
  position:fixed;
  top:0px;
  right:0px;
  width:100%;
}

.cdfNotificationContainer .cdfNotification.growl {
  float: right;
}

button.scheduler_button {
  -webkit-box-shadow: inset 0px 0px 2px 0px #0b4978;
  -moz-box-shadow: inset 0px 0px 2px 0px #0b4978;
  box-shadow: inset 0px 0px 2px 0px #0b4978;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  color: #fff;
  font-weight: 500;
  font-family: 'Open Sans', sans-serif;
  border: none;
  padding: 10px;
  padding-right: 45px;
  width: 99.9%;
  background: #137bca url('images/open-dialog.png') no-repeat right 15px center;
  margin: 20px 0px 0px;
}

.scheduler_button:hover
{
  background-color: #1887db;
  transition: all 0.25s linear 0s;
}


/* dialog box */
.scheduler .jqifade {
  opacity: 0.8 !important;
}

.scheduler div#jqi.jqi   {
  border: 1px solid #DADADA;
  border-top: 1px #fff solid;
  -webkit-box-shadow: 0 0 3px 0px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0 0 3px 0px rgba(0, 0, 0, 0.3);
  box-shadow: 0 0 3px 0px rgba(0, 0, 0, 0.3);
  border-radius: 6px;
  -moz-border-radius: 6px;
  -webkit-border-radius: 6px;
  overflow: hidden;
  top: 10% !important;
}

.scheduler div#jqi.jqi,
.scheduler div.jqi .jqicontainer  {
  padding: 0px;
}

.scheduler div#jqistates {
  background: #f5f5f5;
  overflow: hidden;
}

.scheduler .jqi_state {
  color: #222;
  font-weight: 500;
  border-radius: 6px;
  -moz-border-radius: 6px;
  -webkit-border-radius: 6px;
  overflow: hidden;
  padding: 0px;
}

div.scheduler  .jqimessage {
  background: #f5f5f5 !important;
  border-radius: 6px;
  -moz-border-radius: 6px;
  -webkit-border-radius: 6px;
  padding: 15px;
}

.scheduler  .jqiclose {
  visibility: hidden;
}

.scheduler  .jqiclose:before {
  content: "";
  position: absolute;
  right: 15px;
  top: 15px;
  width: 19px;
  height: 19px;
  background: url('images/close-dialog-hover.png');
  visibility: visible;
  transition: background 0.25s linear 0s;
}

.scheduler  .jqiclose:hover:before {
  background: url('images/close-dialog.png');
  transition: background 0.25s linear 0s;
}

.scheduler  form input[type="text"] {
  padding: 5px;
  border-radius: 3px;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  color: #666;
  font-family: 'Open Sans', sans-serif;
  margin-right: 5px;
  width: 250px;
}

.scheduler  form input[type="checkbox"] {
  margin: 5px 0px 5px 8px;
}

.scheduler  form input[type="text"]:focus {
  border: 1px solid #137bca;
}

.scheduler  textarea:focus {
  border: 1px solid #137bca;
}

.scheduler  textarea {
  width: 100%;
  height: auto;
}

div.scheduler  label {
  color: #137bca;
  font-size: 13px;
  line-height: 25px;
}

.scheduler  select {
  padding: 5px;
  border-radius: 3px;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  border: 1px solid rgb(187, 187, 187);
  margin-right: 5px;
}

.scheduler  select:focus {
  border: 1px solid #137bca;
}

.scheduler  .jqibuttons {
  margin-top: 20px;
}

.scheduler  .jqibuttons button {
  color: #fff;
  font-weight: 500;
  font-family: 'Open Sans', sans-serif;
  border: none;
  background: #137bca;
  font-size: 14px;
}

.scheduler  .jqibuttons button:hover {
  background-color: #1887db;
  transition: all 0.25s linear 0s;
  cursor: pointer;
}

.scheduler  #jqi_basicState_buttonCancel, #jqi_mailState_buttonBack  {
  width: 30%;
  margin: 0;
  left:0;
  display: inline-block;
  padding: 15px 0px;
  border: none;
  background-color: #333;
}

.scheduler  #jqi_basicState_buttonCancel:hover, #jqi_mailState_buttonBack:hover {
  background-color: #555;
  transition: all 0.25s linear 0s;
}

.scheduler  #jqi_basicState_buttonOk, #jqi_mailState_buttonOk {
  width: 70%;
  margin: 0;
  left:0;
  display: inline-block;
  padding: 15px 0px;
  border: none;
}


.scheduler .dialog-title {
  color: #137bca;
  font-size: 14px;
  font-weight: 500;
}

.scheduler .dialog-label {
  display: inline-block;
  width: 100px;
  color: #137bca;
  font-size: 14px;
  font-weight: 500;
}

.img {
  /* img class for divs posing as img ( TODO: use an alt-text replacement? ) */
  display:inline-block;
}

/**
 * Dashboards.Legacy.js
 **/
.errorMessageTable .errorIcon {
  background-image: url('../resources/style/images/error.png');
  height:16px;
  width:16px;
  display:inline-block;
}

/**
 * Block UI
 **/
.blockUIDefaultImg {
  background-image: url('../resources/style/images/processing_transparent.gif');
  padding: 0px;
  height:32px;
  width:32px;
  display:inline-block;
}

/*******************
 * 
 * jfreecharts.js
 * 
 **/
/**
 * TrafficComponent
 **/
.trafficGreen {
  background-image: url('../resources/style/images/traffic_green.png');
  width: 28px;
  height: 39px;
}
.trafficYellow {
  background-image: url('../resources/style/images/traffic_yellow.png');
  width: 28px;
  height: 39px;

}
.trafficRed {
  background-image: url('../resources/style/images/traffic_red.png');
  width: 28px;
  height: 39px;
}
/**
 * JFreeChartComponent
 **/
.jfExcelIcon {
  background-image: url('../resources/style/images/excel_icon.png');
  width:34px;
  height:32px;
}
.jfPieIcon {
  background-image: url('../resources/style/images/pie_icon.png');
  width:32px;
  height:32px;
}
.jfBarIcon {
  background-image: url('../resources/style/images/bar_icon.png');
  width:32px;
  height:32px;
}
.jfCsvIcon {
  background-image: url('../resources/style/images/csv_icon.gif');
  width:32px;
  height:32px;
}
.jfMagnifyIcon {
  background-image: url('../resources/style/images/magnify.png');
  width:32px;
  height:32px;
}
.jfTableIcon {
  background-image: url('../resources/style/images/table.png');
  width:32px;
  height:32px;
}

/**
 * AutoCompleteBox Component
 **/
.autocomplete-container {
  padding: 5px;
  border: 1px solid black;
  min-height: 22px;
  width: 160px;
}

.show-apply-button.autocomplete-container {
  width: 190px;
}

.autocomplete-container .autocomplete-input {
  margin-bottom: 5px;
  float: left;
  width: 145px;
}

.autocomplete-container .autocomplete-input-apply {
  float: right;
}

.autocomplete-container .list-data-selection {
  clear: both;
  margin: 0;
  padding: 0;
  list-style-type: none;

  width: 170px;
}

.autocomplete-container .list-item,
.autocomplete-container .list-data-selection li {
  width: auto;
  text-align: left;
  padding: 2px;
  font-size: 0.75em;
}

.autocomplete-container .list-data-selection .close-button {
  padding: 0;
  margin-right: 5px;

  border: none;
  background-color: transparent;

  color: #A9A9A9;
  font-weight: bold;
}

.autocomplete-container .list-data-selection .close-button:hover {
  cursor: pointer;
  color: #000000;
}

/*******************/

/*
  [CDE-471] This hack can be removed when jquery.ui in common-ui is updated to 1.11.*
  where the bug causing this issue has been fixed
*/

/* IE9- */
body.draggable-popup-fix {
  position: relative\9;
}

/* IE10+ */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  body.draggable-popup-fix {
    position: relative;
  }
}

@-moz-document url-prefix() { /* firefox */
  body.draggable-popup-fix {
    position: relative;
  }
}
/*******************/

/*******
 * Button Component
 ********/

.buttonComponent.enabled {
  opacity: 1;
}

.buttonComponent.disabled {
  opacity: 0.5;
}
